RAISE
Section: C Library Functions (3)
Index
Return to Main Contents
BSD mandoc
NAME
raise
- send a signal to the current process
SYNOPSIS
Fd #include <signal.h>
Ft int
Fn raise int sig
DESCRIPTION
The
Fn raise
function sends the signal
Fa sig
to the current process.
RETURN VALUES
Upon successful completion, a value of 0 is returned.
Otherwise, a value of -1 is returned and the global variable
errno
is set to indicate the error.
ERRORS
The
Fn raise
function
may fail and set
errno
for any of the errors specified for the
library functions
getpid(2)
and
kill(2).
SEE ALSO
kill(2)
STANDARDS
The
Fn raise
function
conforms to
St -ansiC .
Index
- NAME
-
- SYNOPSIS
-
- DESCRIPTION
-
- RETURN VALUES
-
- ERRORS
-
- SEE ALSO
-
- STANDARDS
-
This document was created by
man2html,
using the manual pages.
Time: 16:28:57 GMT, April 18, 2022